package com.graduate.game.assignment.service;

import com.graduate.game.assignment.pojo.assignment;
import com.graduate.game.assignment.pojo.record;
import com.graduate.game.user.pojo.User;
import com.sun.prism.impl.Disposer;

import java.util.List;

public interface recordService {

    //建立记录
    public boolean insert(record record);

    //根据接收任务的人查看自己接收的任务
    public List<record> getreRecordsByID(String getuser);

    //根据assginid获取一条记录
    public record getoneRecord(int assginid);
    //更新用户信息
    public boolean updateRecord(record record);

    //根据发布者姓名获取接受记录表，进行审核内容
    public List<record> getrecordsbypulishRecords(String publisher);

    //修改state
    public boolean updatestate(record record);
}
